package testMemento;
public class Product {
	 public String name;
	 public String description;
	 public double cost;
	public Product(String name, String description, double cost) {
	this.name=name;
	this.description=description;
	this.cost=cost;
	}
	
	public String getName() {
	 return this.name;
	}
	
	public String getDescription() {
	 return this.description;
	}
	
	public double getCost() {
	 return this.cost;
	}
	
	public void setName(String name) {
	 this.name=name;
	}
	
	public void setDescription(String description) {
	 this.description=description;
	}
	
	public void setCost(double cost) {
	 this.cost=cost;
	}
	public String toString() {
		return "Name: "+name+"\n"+"Description: "+description+"\n"+
		"Cost: "+cost+"\n";
	
	}

}
